<:!:/>

@file search.html
@author Alejandro Dario Simi
@date $Date: 2014-06-03 03:40:32 +0000 (Tue, 03 Jun 2014) $

$Id: search.html 112 2014-06-03 03:40:32Z daemonraco@gmail.com $
$URL: http://wcomix.googlecode.com/svn/trunk/skins/Skoll/actions/content/search.html $

<::/>
<form action="#" method="get" onsubmit="Skoll.actions.content.search.sendQuery(this);">
	<input type="hidden" name="action" value="<:VAR:/>WC_ACTION_SEARCH<::/>"/>
	<input type="hidden" name="group"  value="<:VAR:/>GROUP_ID<::/>"/>
	<!--div class="Title">test form</div-->
	<!--div class="Help">
		some help text.<br/>
		some help text.<br/>
		some help text some help text.<br/>
		some help text.<br/>
	</div-->
	<div class="Fields">
		<div class="Field">
			<div class="Label"><:TR:/>label_words<::/>:</div>
			<div class="Value"><input type="text" id="pattern" name="pattern" value="<:VAR:!:/>search_pattern<::/>"/></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_exceptions<::/>:</div>
			<div class="Value"><input type="text" id="exceptions" name="exceptions" value="<:VAR:!:/>search_exceptions<::/>"/></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_types<::/>:</div>
			<div class="Value" id="Types">
				<div class="CheckContainer">
					<input type="checkbox" id="O-CL" name="O-CL"<:ISSET:var=O-CL:/> checked="checked"<::/>/>
					<label for="O-CL"><:TR:/>label_only_collections<::/></label>
				</div>
				<div class="CheckContainer">
					<input type="checkbox" id="O-TA" name="O-TA"<:ISSET:var=O-TA:/> checked="checked"<::/>/>
					<label for="O-TA"><:TR:/>label_only_tags<::/></label>
				</div>
				<div class="CheckContainer">
					<input type="checkbox" id="O-DI" name="O-DI"<:ISSET:var=O-DI:/> checked="checked"<::/>/>
					<label for="O-DI"><:TR:/>label_only_directorires<::/></label>
				</div>
				<div class="CheckContainer">
					<input type="checkbox" id="O-CX" name="O-CX"<:ISSET:var=O-CX:/> checked="checked"<::/>/>
					<label for="O-CX"><:TR:/>label_only_comics<::/></label>
				</div>
				<div class="CheckContainer">
					<input type="checkbox" id="O-IM" name="O-IM"<:ISSET:var=O-IM:/> checked="checked"<::/>/>
					<label for="O-IM"><:TR:/>label_only_images<::/></label>
				</div>
				<div class="CheckContainer">
					<input type="checkbox" id="O-RL" name="O-RL"<:ISSET:var=O-RL:/> checked="checked"<::/>/>
					<label for="O-RL"><:TR:/>label_only_rules<::/></label>
				</div>
			</div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_results<::/>:</div>
			<div class="Value"><:ISSET:var=result_count:/><:VAR:/>result_count<::/> items<::/></div>
		</div>
		<div class="Field">
			<div class="Label"><:TR:/>label_times<::/>:</div>
			<div class="Value">
				<ul>
					<:OVER:list=times:/><li><:TRV:/>what<::/>: <:VAR:!:/>time<::/> ms</li>
					<::/>
				</ul>
			</div>
		</div>
	</div>
	<div class="Buttons">
		<input type="submit" value="<:TR:/>label_search<::/>"/>
	</div>
</form>

<div class="BigList">
	<hr/>
	<div class="BigListTitle"><:TR:/>label_results<::/></div>
	<div class="BigListContents">
		<:OVER:list=search_items:/><a href="<:VAR:/>link<::/>">
			<div class="BigListElementBundle">
				<div class="BoxyData"><:TR:/>label_score<::/>: <:VAR:/>score<::/></div>
				<div class="Preview"><img src="<:VAR:/>preview<::/>" alt=""/></div>
				<div class="Data">
					<div class="Name"><:TR:/>label_name<::/>: <:VAR:/>name<::/></div>
					<div><:TR:/>label_type<::/>: <:VAR:/>type<::/></div>
				</div>
			</div>
		</a>
		<::/>
	</div>
</div>

<:INCLUDE:/>/includes/pager.html<::/>

<script type="text/javascript">
	$(function(){
		Skoll.actions.topbar.setPath("<:VAR:/>PATH<::/>");
		Skoll.actions.sidetools.search.setPattern("<:VAR:/>search_pattern<::/>");
	});
</script>
